package cn.jingzhuan.element.demo.view.activity

import android.os.Bundle
import cn.jingzhuan.element.demo.view.BaseBindingActivity
import cn.jingzhuan.element.demo.view.util.statusbar.StatusBarCompat
import cn.jingzhuan.element.element.R
import cn.jingzhuan.element.element.databinding.ActivityAudioDetailBinding

class AudioDetailActivity : BaseBindingActivity<ActivityAudioDetailBinding>(){

    override fun getLayoutId(): Int = R.layout.activity_audio_detail

    override fun onDataBind(savedInstanceState: Bundle?, binding: ActivityAudioDetailBinding) {
        binding.audioImage = intent.getStringExtra("image")
        StatusBarCompat.translucentStatusBar(this,true)
    }

}